<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta
            name="viewport"
            content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
    >
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>js脚本阻塞页面解析</title>
    <!--    阻塞，加defer或async后就不会阻塞了-->
<!--    <script src="http://127.0.0.1:3000/timeout.js"></script>-->
    <!--    未阻塞-->
<!--    <script src="http://127.0.0.1:3000/index.js"></script>-->
</head>
<body>
<h1>解析后显示该标题</h1>
<script>
    for (pn in window) {
        document.write(pn);
        document.write("<br>");
    }
</script>
</body>
</html>